﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using JKF.DataModule.SqlServerDAL;

namespace JKF.BusinessLayer.BLL
{
    /// <summary>
    /// 业务逻辑类bllSMS_TASK 的摘要说明。
    /// </summary>
    public partial class bllSMS_TASK
    {
        /// <summary>
        /// 获得短信任务列表
        /// </summary>
        /// <param name="currentUser"></param>
        /// <param name="pageCurrent"></param>
        /// <param name="pageSize"></param>
        /// <param name="pageCount"></param>
        /// <param name="rowCount"></param>
        /// <returns></returns>
        public static DataTable GetSmsTaskPaging(string currentUser, int pageCurrent, int pageSize, ref int pageCount,
                                                 ref int rowCount)
        {
            return dalSMS_TASK.GetSmsTaskPaging(currentUser, pageCurrent, pageSize, ref pageCount, ref rowCount);
        }

        /// <summary>
        /// 获得短信任务日志生成
        /// </summary>
        /// <param name="taskKey"></param>
        /// <param name="dateStart"></param>
        /// <param name="dateEnd"></param>
        /// <param name="pageCurrent"></param>
        /// <param name="pageSize"></param>
        /// <param name="pageCount"></param>
        /// <param name="rowCount"></param>
        /// <returns></returns>
        public static DataTable GetSmsTaskLog(string taskKey, DateTime? dateStart, DateTime? dateEnd, int pageCurrent,
            int pageSize, ref int pageCount, ref int rowCount)
        {
            return dalSMS_TASK.GetSmsTaskLog(taskKey, dateStart, dateEnd, pageCurrent, pageSize, ref pageCount, ref rowCount);
        }
    }
}
